<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
<head>
  <title>colour_green</title>
  <meta name="description" content="website description" />
  <meta name="keywords" content="website keywords, website keywords" />
  <meta http-equiv="content-type" content="text/html; charset=windows-1252" />
  <link rel="stylesheet" type="text/css" href="style/style.css" title="style" />
</head>
</head>
<body>
	<jsp:include page="../template/header.html" />

    <div id="site_content">
      <div id="content">
        <!-- insert the page content here -->
        
        <h1>Rozpocznij nową rundę Ligi Piwnej</h1>
		
		<form method="post" action="StartRound">
			<div class="form_settings">
	            <p>
	            	<span>Piwo #1</span>
	            	<select name="beerKind" size="1" class="contact">
	            		<c:forEach var="newBeerKind" items="${beerKinds}">
	            			<option>${newBeerKind.name}</option>
	            		</c:forEach>
	            	</select>	
	            </p>
	            <p><span>Opis</span><textarea class="contact textarea" rows="8" cols="50" name="beerDescription"></textarea></p>
	            <p style="padding-top: 15px"><span>&nbsp;</span><input class="submit" type="submit" name="addBeerSubmit" value="Dodaj" /></p>
			</div>
		</form>
		
		<h1>Lista gatunków piw w systemie</h1>
		<ul>
	        <c:forEach var="beerKind" items="${beerKinds}" >
	        	<li>${beerKind.name}</li>
	        </c:forEach>
		</ul>
		
      </div>
    </div>

</body>
</html>